package com.dx.mes.common.table.rtnBean.spc;

public class ChartRawDataKey {

    private String col_typ_fk;
    private String grp_no_fk;
    private String chart_no_fk;
    private Long sta_time_d;
    public String getCol_typ_fk() {
        return col_typ_fk;
    }
    public void setCol_typ_fk(String col_typ_fk) {
        this.col_typ_fk = col_typ_fk;
    }
    public String getGrp_no_fk() {
        return grp_no_fk;
    }
    public void setGrp_no_fk(String grp_no_fk) {
        this.grp_no_fk = grp_no_fk;
    }
    public String getChart_no_fk() {
        return chart_no_fk;
    }
    public void setChart_no_fk(String chart_no_fk) {
        this.chart_no_fk = chart_no_fk;
    }
    public Long getSta_time_d() {
        return sta_time_d;
    }
    public void setSta_time_d(Long sta_time_d) {
        this.sta_time_d = sta_time_d;
    }
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((chart_no_fk == null) ? 0 : chart_no_fk.hashCode());
        result = prime * result + ((col_typ_fk == null) ? 0 : col_typ_fk.hashCode());
        result = prime * result + ((grp_no_fk == null) ? 0 : grp_no_fk.hashCode());
        result = prime * result + ((sta_time_d == null) ? 0 : sta_time_d.hashCode());
        return result;
    }
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        ChartRawDataKey other = (ChartRawDataKey) obj;
        if (chart_no_fk == null) {
            if (other.chart_no_fk != null)
                return false;
        } else if (!chart_no_fk.equals(other.chart_no_fk))
            return false;
        if (col_typ_fk == null) {
            if (other.col_typ_fk != null)
                return false;
        } else if (!col_typ_fk.equals(other.col_typ_fk))
            return false;
        if (grp_no_fk == null) {
            if (other.grp_no_fk != null)
                return false;
        } else if (!grp_no_fk.equals(other.grp_no_fk))
            return false;
        if (sta_time_d == null) {
            if (other.sta_time_d != null)
                return false;
        } else if (!sta_time_d.equals(other.sta_time_d))
            return false;
        return true;
    }
    public ChartRawDataKey(String col_typ_fk, String grp_no_fk, String chart_no_fk, Long sta_time_d) {
        super();
        this.col_typ_fk = col_typ_fk;
        this.grp_no_fk = grp_no_fk;
        this.chart_no_fk = chart_no_fk;
        this.sta_time_d = sta_time_d;
    }
    public ChartRawDataKey() {
        super();
    }
    
    
}
